﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BAF RID: 2991
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGuessBuyInformationScRsp : IMessage<MonopolyGuessBuyInformationScRsp>, IMessage, IEquatable<MonopolyGuessBuyInformationScRsp>, IDeepCloneable<MonopolyGuessBuyInformationScRsp>, IBufferMessage
	{
		// Token: 0x170025B4 RID: 9652
		// (get) Token: 0x060085C9 RID: 34249 RVA: 0x00163EE4 File Offset: 0x001620E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGuessBuyInformationScRsp> Parser
		{
			get
			{
				return MonopolyGuessBuyInformationScRsp._parser;
			}
		}

		// Token: 0x170025B5 RID: 9653
		// (get) Token: 0x060085CA RID: 34250 RVA: 0x00163EEB File Offset: 0x001620EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGuessBuyInformationScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025B6 RID: 9654
		// (get) Token: 0x060085CB RID: 34251 RVA: 0x00163EFD File Offset: 0x001620FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGuessBuyInformationScRsp.Descriptor;
			}
		}

		// Token: 0x060085CC RID: 34252 RVA: 0x00163F04 File Offset: 0x00162104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGuessBuyInformationScRsp()
		{
		}

		// Token: 0x060085CD RID: 34253 RVA: 0x00163F0C File Offset: 0x0016210C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGuessBuyInformationScRsp(MonopolyGuessBuyInformationScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060085CE RID: 34254 RVA: 0x00163F31 File Offset: 0x00162131
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGuessBuyInformationScRsp Clone()
		{
			return new MonopolyGuessBuyInformationScRsp(this);
		}

		// Token: 0x170025B7 RID: 9655
		// (get) Token: 0x060085CF RID: 34255 RVA: 0x00163F39 File Offset: 0x00162139
		// (set) Token: 0x060085D0 RID: 34256 RVA: 0x00163F41 File Offset: 0x00162141
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060085D1 RID: 34257 RVA: 0x00163F4A File Offset: 0x0016214A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGuessBuyInformationScRsp);
		}

		// Token: 0x060085D2 RID: 34258 RVA: 0x00163F58 File Offset: 0x00162158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGuessBuyInformationScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060085D3 RID: 34259 RVA: 0x00163F88 File Offset: 0x00162188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060085D4 RID: 34260 RVA: 0x00163FC7 File Offset: 0x001621C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060085D5 RID: 34261 RVA: 0x00163FCF File Offset: 0x001621CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060085D6 RID: 34262 RVA: 0x00163FD8 File Offset: 0x001621D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060085D7 RID: 34263 RVA: 0x0016400C File Offset: 0x0016220C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060085D8 RID: 34264 RVA: 0x0016404A File Offset: 0x0016224A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGuessBuyInformationScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060085D9 RID: 34265 RVA: 0x0016407B File Offset: 0x0016227B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060085DA RID: 34266 RVA: 0x00164084 File Offset: 0x00162284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003308 RID: 13064
		private static readonly MessageParser<MonopolyGuessBuyInformationScRsp> _parser = new MessageParser<MonopolyGuessBuyInformationScRsp>(() => new MonopolyGuessBuyInformationScRsp());

		// Token: 0x04003309 RID: 13065
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400330A RID: 13066
		public const int RetcodeFieldNumber = 8;

		// Token: 0x0400330B RID: 13067
		private uint retcode_;
	}
}
